package com.pay.common.exception;

/**
 * 支付系统异常
 */
public class PayException extends RuntimeException {
    
    private String code;
    
    public PayException(String message) {
        super(message);
        this.code = "9999";
    }
    
    public PayException(String code, String message) {
        super(message);
        this.code = code;
    }
    
    public String getCode() {
        return code;
    }
}



